package com.gitee.cirnochat.chat.model.dto;

import com.gitee.cirnochat.chat.model.enums.ChatMessageType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "聊天消息回复对象")
public class ChatReply {
    /**
     * 回复ID
     */
    @Schema(description = "被回复的消息ID")
    private Long replyMessageId;
    /**
     * 父消息发送者名称
     */
    @Schema(description = "被回复的发送者名称")
    private String replySenderName;
    /**
     * 父消息内容
     */
    @Schema(description = "被回复的消息负载json字符串")
    private String replyContent;
    /**
     * 消息类型
     */
    @Schema(description = "被回复的消息的消息类型")
    private ChatMessageType replyMessageType;

    /**
     * 父消息撤回状态
     */
    @Schema(description = "被回复的消息的撤回状态")
    private Boolean replyRevokeStatus;
}
